<template>
  <div>

    <sel-wrap icon="icon-type" title="治疗领域">
      <el-select v-model=value7 class="date-wrap" placeholder="请选择治疗领域">
        <el-option
          :key="item.value"
          v-for="(item, index) in hosWay"
          :label="item.label"
          :value="item.value">
        </el-option>
      </el-select>
    </sel-wrap>
    <sel-wrap icon="icon-time"title="日期" >
      <el-date-picker
        class="date-wrap"
        v-model="time"
        placeholder="请选择日期"
        type="date"
        />
    </sel-wrap>
    <sel-wrap icon="icon-type" title="文档类型">
      <el-select class="date-wrap" v-model=value6 placeholder="请选择文档类型">
        <el-option
          :key="item.value"
          v-for="(item, index) in docType"
          :label="item.label"
          :value="item.value">
        </el-option>
      </el-select>
    </sel-wrap>
  </div>
</template>

<script>
  import SelWrap from '@/comcom/selwrap'
  export default {
    components: {
      SelWrap
    },
    data() {
      return {
        time: null,
        value6: null,
        value7: null,
        value8: null,
        docType: [
          {label: 'pdf', value: 1},
          {label: 'word', value: 2},
        ],
        hosWay: [
          {label: '癌症', value: 1},
          {label: '糖尿病', value: 2},
        ],
        dynamicTags: [
          {name: '标签一', type: ''},
          {name: '标签二', type: 'success'},
          {name: '标签三', type: 'info'},
          {name: '标签四', type: 'warning'},
          {name: '标签五', type: 'danger'}
        ],
      }
    },
    methods: {
      handleClose(tag) {
        this.dynamicTags.splice(this.dynamicTags.indexOf(tag), 1);
      },
    }
  }
</script>

<style scoped>
  @import '../../../assets/index.css';
  .Sidebar > h4 {
    color: #fff;
    font-size: 16px;
  }
  .filter-icon > input{
    margin-bottom: 12px;
    width: 80%;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border: 0;
    border-radius: 4px;
    background-color: rgba(246, 242, 226, 0.4);
    font-size: 15px;
    color: #fff;
  }
  .filter-icon>input::-webkit-input-placeholder { /* WebKit browsers */
    color: #ababab;
  }
  .filter-icon>input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #ababab;
  }
  .filter-icon>input::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #ababab;
  }
  .filter-icon>input:-ms-input-placeholder { /* Internet Explorer 10+ */
    color: #ababab;
  }

  .container {
    padding: 10px 20px;
    background-color: rgba(245, 245, 248, 0.1);
    border-radius: 10px;
    -webkit-box-shadow: 10px 5px 30px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 10px 5px 30px 10px rgba(0, 0, 0, 0.2);
    margin: 0 30px 0 0;
  }
  .conditions-wrap{
    height: 100px;
    margin-bottom: 20px;
  }
  .el-tag + .el-tag {
    margin-left: 10px;
  }
  .sure-btn{
    margin-top: 40px;
    float: right;
    display: inline-block;
    width: 80px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background: #1f9e91;
    border-radius: 5px;
    cursor: pointer;
  }
  .el-date-editor{
    max-width: 198px;
  }
  .el-select{
    max-width: 198px;
  }
</style>
